﻿@{string action = Request.RequestContext.RouteData.Values["action"].ToString();}
@*<ul class="nav nav-tabs bar_tabs sme-tabs" role="tablist">
    @if (action.ToUpper() == "DEPOSIT")
    {
        <li role="presentation" class="active" id="cm-tc-tab">
            @Html.ActionLink(@SMECustomerWebsite.Core.Resources.Resource.Deposit, "Deposit", "SalePerformance", new { dao = Request.QueryString["dao"] }, null)
        </li>
    }
    else
    {
        <li role="presentation" class="" id="cm-tc-tab">
            @Html.ActionLink(@SMECustomerWebsite.Core.Resources.Resource.Deposit, "Deposit", "SalePerformance", new { dao = Request.QueryString["dao"] }, null)
        </li>
    }
    @if (action.ToUpper() == "LOANBYPRODUCT" || action.ToUpper() == "LOANBYPRODUCTPROG" || action.ToUpper() == "LOANBYCTUUDAI")
    {
        <li role="presentation" class="active" id="cm-tc-tab">
            @Html.ActionLink(@SMECustomerWebsite.Core.Resources.Resource.Loan, "LoanByProduct", "SalePerformance", new { dao = Request.QueryString["dao"] }, null)
        </li>
    }
    else
    {
        <li role="presentation" class="" id="cm-tc-tab">
            @Html.ActionLink(@SMECustomerWebsite.Core.Resources.Resource.Loan, "LoanByProduct", "SalePerformance", new { dao = Request.QueryString["dao"] }, null)
        </li>
    }
    @if (action.ToUpper() == "TRADE")
    {
        <li role="presentation" class="active" id="cm-tc-tab">
            @Html.ActionLink(@SMECustomerWebsite.Core.Resources.Resource.Trade, "Trade", "SalePerformance", new { dao = Request.QueryString["dao"] }, null)
        </li>
    }
    else
    {
        <li role="presentation" class="" id="cm-tc-tab">
            @Html.ActionLink(@SMECustomerWebsite.Core.Resources.Resource.Trade, "Trade", "SalePerformance", new { dao = Request.QueryString["dao"] }, null)
        </li>
    }
    @if (action.ToUpper() == "CASHMANAGEMENT")
    {
        <li role="presentation" class="active" id="cm-tc-tab">
            @Html.ActionLink(@SMECustomerWebsite.Core.Resources.Resource.CashManagement, "CashManagement", "SalePerformance", new { dao = Request.QueryString["dao"] }, null)
        </li>
    }
    else
    {
        <li role="presentation" class="" id="cm-tc-tab">
            @Html.ActionLink(@SMECustomerWebsite.Core.Resources.Resource.CashManagement, "CashManagement", "SalePerformance", new { dao = Request.QueryString["dao"] }, null)
        </li>
    }
    @if (action.ToUpper() == "KPI")
    {
        <li role="presentation" class="active" id="cm-tc-tab">
            @Html.ActionLink("KPIs", "KPIs", "SalePerformance", new { dao = Request.QueryString["dao"] }, null)
        </li>
    }
    else
    {
        <li role="presentation" class="" id="cm-tc-tab">
            @Html.ActionLink("KPIs", "KPIs", "SalePerformance", new { dao = Request.QueryString["dao"] }, null)
        </li>
    }
</ul>*@